home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pbaseiv.zip / P4DBS005.TIP < prev    next >
Text File  |  1991-12-16  |  1KB  |  27 lines

  1. In "Losing Your Memo" (Star-Dot-Star, November 1990), we
  2. described a way of loading dBASE data when a DBT memo file
  3. is missing and presumed unrecoverable. Two readers have
  4. since suggested an alternative method. Just create a
  5. zero-length file with the same name as your DBF file and the
  6. DBT extension. Although the file contains nothing, it fools
  7. dBASE into thinking the memos are intact and therefore lets
  8. you load your DBF file.
  9.  
  10. To create the empty file, enter the command `TYPE NUL >
  11. FILENAME.DBT' at the DOS prompt. Be careful; if the DBT file
  12. still exists, the command will erase it. Thanks to Jean
  13. Heriot of St. Thomas, Ontario, Canada, and Tim Erikson of
  14. Delavan, Wisconsin, for showing that you can get something
  15. for nothing.
  16.  
  17. Postcript: This tip originally said to use the command `TYPE
  18. > FILENAME.DBT', but this does not work under MS-DOS 5.0.
  19. Using NUL, the "null" file, works under DOS 5 and also under
  20. older versions of DOS.
  21.  
  22. Title: Something for Nothing
  23. Category: DBS
  24. Issue date: May 1991
  25. Editor: Tom Swan
  26. Supplementary files: NONE
  27.